﻿namespace dPet.Domain.Specifications
{
	using dPet.Domain.Models;
	using Hangerd.Specification;

	public class ServiceItemSpecifications
	{
		public static Specification<ServiceItem> HospitalIdEquals(string hospitalId)
		{
			return new DirectSpecification<ServiceItem>(si => si.HospitalId == hospitalId);
		}

		public static Specification<ServiceItem> CategoryIdEquals(string categoryId)
		{
			return new DirectSpecification<ServiceItem>(si => si.Category.Id == categoryId);
		}
	}
}
